package io.github.loserya.core.sdk.aggregate.entity;

import io.github.loserya.hardcode.constant.EAggregate;

public class AggregationField {

    private final EAggregate aggregate;
    private final String field;
    private final String alias;

    public AggregationField(EAggregate aggregate, String field, String alias) {
        this.aggregate = aggregate;
        this.field = field;
        this.alias = alias;
    }

    public EAggregate getFunction() {
        return aggregate;
    }

    public String getField() {
        return field;
    }

    public String getAlias() {
        return alias;
    }

}